package com.da.javatest.leetCode;

/**
 * @author chenlida
 * @date 2019/1/8 15:09
 * @description
 */
public class Code9 {
    public boolean isPalindrome(int x) {
        return (x + "").equals(new StringBuilder(x + "").reverse().toString());
    }
}
